import request from '@/sheep/request';

const transferApi = {
	/**
	 * @description 能量池复投明细分页
	 * @param {Object} data
	 */
	getEnergypoolPage: (data) => {
		return request({
			url: '/member/energy-pool/page',
			method: 'GET',
			data,
		})
	},
	/**
	 * @description 能量池数据
	 * @param {Object} data
	 */
	getEnergypoolDetail: (data) => {
		return request({
			url: '/member/energy-pool/detail',
			method: 'GET',
			data
		})
	},
	/**
	 * @description 能量池复投
	 * @param {Object} data
	 */
	getEnergypoolCompound: (data) => {
		return request({
			url: '/member/energy-pool/compound',
			method: 'GET',
			data
		})
	},
	/**
	 * @description 绿色能量转换成余额
	 * @param {Object} data
	 */
	EnergypoolToSurplus: (data) => {
		return request({
			url: '/member/asset-details/toSurplus',
			method: 'GET',
			data,
		})
	},
	/**
	 * @description 绿色能量转换成原始能量
	 * @param {Object} data
	 */
	EnergypoolToOriginal: (data) => {
		return request({
			url: '/member/asset-details/toOriginal',
			method: 'GET',
			data,
		})
	},



}
export default transferApi;